/*
	ZFSS - Zambino's FairServer System v0.5
	A DayZ epoch script to limit the impact of assholes on servers.  Very loosely based on the "Safezone commander" script by AlienX.
	Copyright (C) 2014 Jordan Ashley Craw

	This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 */

/*
	GENERAL BOOTSTRAPPING
	
	Starting up the script.
*/

ZFSS_Enable_Debug = true;


if(isServer || isDedicated) then
{
	// We're dealing with the wrong entity. This is here for future use.
	diag_log("[ZFSS]:  Zambino FairServer - Waiting until script is initialised..");
	
}
else  // This specifically make sure it's the player that is running the script. 
{

	ZFSS_SafeZone = "ZFSS\ZFSS_SafeZone.sqf";		// General SafeZone functions.	
	ZFSS_AutoLock = "ZFSS\ZFSS_AutoLock.sqf";		// Autolock functions.
	
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";
	player addMagazine "ItemBriefcase100oz";

	
	
	
	/*
		ZFSS_SafeZone.sqf
		
		Various functions to create the common safezones. 
	*/
	[] ExecVM ZFSS_SafeZone;
	
	/*
		ZFSS_AutoLock.sqf
		
		Automatically locking cars when someone gets out, forgets to lock it, and then runs away. 
	*/
	[] ExecVM ZFSS_AutoLock;
	
	
}




